﻿using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using JsonCSharpClassGenerator;

namespace BEX.Core.Exchange.MtGox.MtGoxResponseJsonTypes
{
    public class Buy
    {
        private JObject __jobject;
        public Buy(JObject obj)
        {
            this.__jobject = obj;
        }

        public string value
        {
            get
            {
                return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "value"));
            }
        }

        public string value_int
        {
            get
            {
                return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "value_int"));
            }
        }

        public string display
        {
            get
            {
                return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "display"));
            }
        }

        public string display_short
        {
            get
            {
                return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "display_short"));
            }
        }

        public string currency
        {
            get
            {
                return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "currency"));
            }
        }
    }
}
